package com.pattern.factory.factotyMethod;

import com.pattern.factory.Hotel;
import com.pattern.factory.House;

/**
 * Description  酒店工厂类
 *
 * @author hubiao
 * @since 2020-08-19 20:39
 */
public class HotelFactory implements HouseFactory {

    @Override
    public House create() {
        return new Hotel();
    }
}
